package com.demonlover.oauth2.sever.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demonlover.oauth2.sever.domain.UserRole;
import com.demonlover.oauth2.sever.domain.UserRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author  WuChao
 * @date  2020/6/3 10:50
 * @version 1.0
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {
    long countByExample(UserRoleExample example);

    int deleteByExample(UserRoleExample example);

    List<UserRole> selectByExample(UserRoleExample example);

    int updateByExampleSelective(@Param("record") UserRole record, @Param("example") UserRoleExample example);

    int updateByExample(@Param("record") UserRole record, @Param("example") UserRoleExample example);
}